package com.haixin.security.dao;


import com.haixin.security.bean.Role;

import java.util.List;

public interface RoleMapper {
    List<Role> getAllRoles();
    Role getRoleById(int id);
    int insertRole(Role role);
    int updateRole(Role role);
    int deleteRole(int id);
}
